module.exports = {
    publicPath: '/syjj-h5/',
    outputDir: 'retraceSystem',
    assetsDir: 'static',
    productionSourceMap: false,
    chainWebpack: config => {
        config.plugin('html').tap(args => {
                args[0].title = '中药饮片追溯系统'
                return args
            })

    },
    devServer: {
        hot:true,
        open:true,
        proxy: {
            '/api':{
                target:'http://192.168.1.161:18818',
                changeOrigin:true,
                pathRewrite:{
                    '^/api':''
                }
            }
        }
    },
}
